package com.fzu.ess.ess.service;

import com.fzu.ess.ess.entity.Profile;

import java.util.List;

/**
 * Created by ercha on 2015/12/6.
 */
public interface ProfileService {
    String create(Profile profile);

    //通过 userId 获取
    Profile get();

    Profile getByUserId(String userId);

    List<Profile> getAll();

    boolean update(Profile profile);
}
